package com.celesea.auth.dept.dao;

import com.celesea.auth.dept.entity.Dept;
import com.celesea.framework.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptDao extends BaseDao<Dept> {

    String selectRootId(@Param("tenantId") String tenantId);

    List<Dept> selectRoot(@Param("tenantId") String tenantId);

}
